package com.ztmg.water.service.apartment;

import com.ztmg.water.model.apartment.ApartmentFloor;
import com.ztmg.water.vo.apartment.ApartmentFloorVO;
import com.ztmg.water.dto.apartment.ApartmentFloorDTO;
import com.ztmg.water.dto.apartment.ApartmentFloorPageDTO;
import com.ztmg.common.util.resultUtils.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ApartmentFloorService{

		JsonResult createApartmentFloor(ApartmentFloorDTO dto);
		JsonResult create(ApartmentFloorDTO dto);
		JsonResult update(ApartmentFloorDTO dto);
		JsonResult<ApartmentFloorVO> selectById(Integer id);
		JsonResult<List<ApartmentFloorVO>> select(ApartmentFloorDTO dto);
		JsonResult<PageInfo<ApartmentFloorVO>> selectPage(ApartmentFloorPageDTO dto);
		JsonResult deleteById(Integer id);
		JsonResult delete(ApartmentFloorDTO dto);

}